package com.eva.learn.concurrent.thinkInJava;

/**
 * 一个Thread只可执行一次，一旦开始执行后，无论是否执行完，再次执行将会报错
 * 
 * @author Evain.C
 *
 */
public class BasicThreads {
	public static void main(String[] args) throws InterruptedException {
		Thread t = new Thread(new LiftOff());
		t.start();
		System.out.println("Waiting for LiftOff");
		// Thread.currentThread().sleep(1000l);
		t.start();
	}
}
